package com.example.goods.common;


import lombok.Getter;

/**
 * Created by IntelliJ IDEA.
 *响应状态码
 * @author ouyangzhixiang
 * @date 2018/7/4
 */
@Getter
public enum  ResponseCode {
    /**
     * 成功提示信息
     */
    SUCCESS(0,"成功"),
    /**
     * 失败提示信息
     */
    FAILURE(1,"失败")
    ;
    private Integer code;

    private String desc;

    ResponseCode(Integer code,String desc){
        this.code=code;
        this.desc=desc;
    }
}
